package com.mohan.system.auth.service;

import com.mohan.calligraphy.dto.SystemUserRegistry;

import javax.servlet.ServletResponse;
import java.io.IOException;

public interface AuthService {
    /**
     * 获取用户验证码
     * @param uuid
     * @param response
     */
    void getLoginImageCode(String uuid, ServletResponse response) throws IOException;

    /**
     * 用户登录认证接口
     * @param userRegistry
     */
    String login(SystemUserRegistry userRegistry);
}
